StyleProviderPrivate: mark internal variable as static
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 22 Apr 2012 17:25:16 +0000 (19:25 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 23 Apr 2012 17:16:14 +0000 (19:16 +0200)
Otherwise, it could conflict with other symbols with the same
name exported by a different shared library, with undefined
effects.

https://bugzilla.gnome.org/show_bug.cgi?id=674577

gtk/gtkstyleproviderprivate.c

index a646201950da5e12ecbe607170c16f750a089a0b..c7284da1dba68943a07e968b20215219dde6ef09 100644 (file)
@@ -29,7 +29,7 @@ enum {
 
 G_DEFINE_INTERFACE (GtkStyleProviderPrivate, _gtk_style_provider_private, GTK_TYPE_STYLE_PROVIDER)
 
-guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL];
 
 static void
 _gtk_style_provider_private_default_init (GtkStyleProviderPrivateInterface *iface)